package web.req;

import common.consts.Consts;
import web.Request;

import javax.validation.constraints.Min;

/**
 * Created by chen<chen@youjianghr.com> on 2015/7/18.
 *
 * @author chen<chen@youjianghr.com>
 */
public class DeviceRequest extends Request {

    @Min(value = 15, message = Consts.i18nKey.INVILID_DEVICE_IMEI)
    private String imei;
    @Min(value = 44, message = Consts.i18nKey.INVILID_DEVICE_TOKEN)
    private String deviceToken;
    private String brand;
    private String model;
    private String os;
    private Integer width;
    private Integer height;
    private String resolution;

    public String getImei() {
        return imei;
    }

    public void setImei(String imei) {
        this.imei = imei;
    }

    public String getDeviceToken() {
        return deviceToken;
    }

    public void setDeviceToken(String deviceToken) {
        this.deviceToken = deviceToken;
    }

    public String getBrand() {
        return brand;
    }

    public void setBrand(String brand) {
        this.brand = brand;
    }

    public String getModel() {
        return model;
    }

    public void setModel(String model) {
        this.model = model;
    }

    public String getOs() {
        return os;
    }

    public void setOs(String os) {
        this.os = os;
    }

    public Integer getWidth() {
        return width;
    }

    public void setWidth(Integer width) {
        this.width = width;
    }

    public Integer getHeight() {
        return height;
    }

    public void setHeight(Integer height) {
        this.height = height;
    }

    public String getResolution() {
        return resolution;
    }

    public void setResolution(String resolution) {
        this.resolution = resolution;
    }
}
